package com.mbc.common.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import com.mbc.common.entities.BranchType;
import com.mbc.common.data.BranchTypeDataList;
import com.mbc.common.entities.BranchTypeRpt;

public interface BranchTypeDAO {
	public void create(BranchType entity)throws SQLException;
	public void update(BranchType entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public BranchType find(long key)throws SQLException;
	public ArrayList<BranchType> findAll()throws SQLException;
	public BranchType findBranchTypeByCode(BranchType entity)throws SQLException;
	public BranchTypeDataList findBranchTypes(BranchType cri)throws SQLException;
	ResultSet prepareBranchTypeReport(BranchTypeRpt entity)throws SQLException;
}
